package com.linrui.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.linrui.basic.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author linrui
 * @since 2022-10-25
 */
public class Order extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private Long id;
    private String sn;
    private Long businessId;
    private String businessName;
    private Long productId;
    private String productName;
    /**
     * 产品的架构+营销活动的力度
     */
    private BigDecimal price;
    private Long customerId;
    private String customerName;
    private Integer state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Order{" +
        ", id=" + id +
        ", sn=" + sn +
        ", businessId=" + businessId +
        ", businessName=" + businessName +
        ", productId=" + productId +
        ", productName=" + productName +
        ", price=" + price +
        ", customerId=" + customerId +
        ", customerName=" + customerName +
        ", state=" + state +
        "}";
    }
}
